package com.ruoyi.project.system.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 银行人员对象 sys_bank
 *
 * @author theme
 * @date 2021-04-20
 */
public class SysBank extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    private Long bankUserId;

    /**
     * 姓名
     */
    @ApiModelProperty(name = "姓名")
    @Excel(name = "姓名",sort = 3)
    private String userName;

    /**
     * 手机号码
     */
    @ApiModelProperty(name = "手机号码")
    @Excel(name = "手机号码",sort = 4)
    private String phone;

    /**
     * 支行
     */
    @Excel(name = "支行",sort = 2)
    @ApiModelProperty(name = "支行")
    private String branch;

    /**
     * 网点
     */
    @Excel(name = "网点",sort = 1)
    @ApiModelProperty(name = "网点")
    private String outlets;

    private String areaName;

    public void setBankUserId(Long bankUserId) {
        this.bankUserId = bankUserId;
    }

    public Long getBankUserId() {
        return bankUserId;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserName() {
        return userName;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPhone() {
        return phone;
    }

    public void setBranch(String branch) {
        this.branch = branch;
    }

    public String getBranch() {
        return branch;
    }

    public void setOutlets(String outlets) {
        this.outlets = outlets;
    }

    public String getOutlets() {
        return outlets;
    }


    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("bankUserId", getBankUserId())
                .append("userName", getUserName())
                .append("phone", getPhone())
                .append("branch", getBranch())
                .append("outlets", getOutlets())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
